package com.attendance.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.attendance.entity.Late;
import com.attendance.entity.dto.LateDTO;




public interface ILateService {
	public void saveOrUpdate(Late late);
	public void delete(Long id);
	public void delete(List<Long> ids);
	
	public Late findOne(Long id);
	public List<Late> findAll();
	//动态条件查询
	public Page<Late> findAll(Specification<Late> spec, Pageable pageable);
	public Page<LateDTO> findPage(String staffName,String staffNum,Pageable pageable);
}
